package com.thjk.bdf.system.service.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.thjk.bdf.common.entity.ApplyOrder;


@Mapper
public interface ApplyOrderMapper {

	int deleteByPrimaryKey(Integer id);

	int insert(ApplyOrder record);

	int insertSelective(ApplyOrder record);

	ApplyOrder selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ApplyOrder record);

	int updateByPrimaryKey(ApplyOrder record);
	
	int selectCountByOrder(ApplyOrder record);
	
	List<ApplyOrder> selectByOrder(ApplyOrder record);
	
	List<ApplyOrder> selectByPhone(String phone);
	
	ApplyOrder selectBySeriNo(@Param("seriNo")String seriNo);
	
	int updateBySeriNoSelective(ApplyOrder record);
	
	List<ApplyOrder> selectOrderInfos();
} 